home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / idl / nsIWSDL.idl < prev    next >
Text File  |  2006-05-08  |  4KB  |  118 lines

  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Mozilla Public License Version
  6.  * 1.1 (the "License"); you may not use this file except in compliance with
  7.  * the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/MPL/
  9.  *
  10.  * Software distributed under the License is distributed on an "AS IS" basis,
  11.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  * for the specific language governing rights and limitations under the
  13.  * License.
  14.  *
  15.  * The Original Code is Mozilla.
  16.  *
  17.  * The Initial Developer of the Original Code is
  18.  * Netscape Communications.
  19.  * Portions created by the Initial Developer are Copyright (C) 2001
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *   Vidur Apparao <vidur@netscape.com> (original author)
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  27.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the MPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the MPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. #include "nsISupports.idl"
  40. #include "nsISchema.idl"
  41.  
  42. interface nsIWSDLBinding;
  43. interface nsIWSDLPort;
  44. interface nsIWSDLOperation;
  45. interface nsIWSDLMessage;
  46. interface nsIWSDLPart;
  47. interface nsIDOMElement;
  48.  
  49. [scriptable, uuid(0458dac1-65de-11d5-9b42-00104bdf5339)]
  50. interface nsIWSDLPort : nsISupports
  51.   readonly attribute AString name;
  52.   readonly attribute nsIDOMElement documentation;
  53.  
  54.   readonly attribute nsIWSDLBinding binding;
  55.  
  56.   readonly attribute PRUint32 operationCount;
  57.   nsIWSDLOperation getOperation(in PRUint32 index);
  58.   nsIWSDLOperation getOperationByName(in AString name);
  59. };
  60.  
  61. [scriptable, uuid(0458dac2-65de-11d5-9b42-00104bdf5339)]
  62. interface nsIWSDLOperation : nsISupports
  63. {
  64.   readonly attribute AString name;
  65.   readonly attribute nsIDOMElement documentation;
  66.  
  67.   readonly attribute nsIWSDLBinding binding;
  68.  
  69.   readonly attribute nsIWSDLMessage input;
  70.   readonly attribute nsIWSDLMessage output;
  71.   readonly attribute PRUint32 faultCount;
  72.   nsIWSDLMessage getFault(in PRUint32 index);
  73.  
  74.   readonly attribute PRUint32 parameterOrderCount;
  75.   AString getParameter(in PRUint32 index);
  76.   PRUint32 getParameterIndex(in AString name);
  77. };
  78.  
  79. [scriptable, uuid(0458dac3-65de-11d5-9b42-00104bdf5339)]
  80. interface nsIWSDLMessage : nsISupports
  81. {
  82.   readonly attribute AString name;
  83.   readonly attribute nsIDOMElement documentation;
  84.  
  85.   readonly attribute nsIWSDLBinding binding;
  86.   
  87.   readonly attribute PRUint32 partCount;
  88.   nsIWSDLPart getPart(in PRUint32 index);
  89.   nsIWSDLPart getPartByName(in AString name);
  90. };
  91.  
  92. [scriptable, uuid(0458dac4-65de-11d5-9b42-00104bdf5339)]
  93. interface nsIWSDLPart : nsISupports
  94. {
  95.   readonly attribute AString name;
  96.  
  97.   readonly attribute nsIWSDLBinding binding;
  98.   
  99.   readonly attribute AString type;
  100.   readonly attribute AString elementName;
  101.  
  102.   /**
  103.    * The schema component that corresponds to this part. If the
  104.    * type attribute is used, this is a nsISchemaType. If the 
  105.    * elementName attribute is used, it is a nsISchemaElement.
  106.    */
  107.   readonly attribute nsISchemaComponent schemaComponent;
  108. };
  109.  
  110. [scriptable, uuid(0458dac0-65de-11d5-9b42-00104bdf5339)]
  111. interface nsIWSDLBinding : nsISupports
  112. {
  113.   readonly attribute AString protocol;
  114.   readonly attribute nsIDOMElement documentation;
  115. };
  116.  
  117.